package zzxkj.blog.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import zzxkj.blog.pojo.Tag;
import zzxkj.blog.pojo.User;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
 * @author zzxkj
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DetailedBlog {
    private Long id;
    private String firstPicture;
    private String flag;
    private String title;
    private String content;

    private Integer views;
    private Date updateTime;
    private Date createTime;
    private boolean commentable;
    private boolean shareStatement;
    private boolean appreciation;
    private String nickname;
    private String avatar;

    private List<Tag> tags = new ArrayList<>();
}
